package by.bsu.touragency.db.beans;

import java.util.GregorianCalendar;

public class Transfer {

	private int id;
	private GregorianCalendar dateTo;
	private GregorianCalendar dateFrom;
	private City city;

	public Transfer() {
		super();
	}

	Transfer(GregorianCalendar dateTo, GregorianCalendar dateFrom, City city) {
		super();
		this.dateTo = dateTo;
		this.dateFrom = dateFrom;
		this.city = city;
	}

	public int getId() {
		return id;
	}

	public GregorianCalendar getDateFrom() {
		return dateFrom;
	}

	public void setDateFrom(GregorianCalendar dateFrom) {
		this.dateFrom = dateFrom;
	}

	public GregorianCalendar getDateTo() {
		return dateTo;
	}

	public void setDateTo(GregorianCalendar dateTo) {
		this.dateTo = dateTo;
	}

	public void setId(int id) {
		this.id = id;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

}
